// ========================================================
// Des：心跳消息
// Autor：Mr.H 
// CreateTime：2024/04/17 13:10:16
// 版 本：v 1.0
// ========================================================

public class HeartMsg : BaseMsg
{


    public override int GetID()
    {
        return 999;
    }
    public override int GetBytesNum()
    {
        return 8;
    }

    public override byte[] Writing()
    {
        int index = 0;
        byte[] bytes = new byte[GetBytesNum()];
        WriteInt(bytes,GetID(),ref index);
        WriteInt(bytes,0,ref index);
        return bytes;
    }

    public override int Reading(byte[] bytes, int beginIndex = 0)
    {
        return 0;
    }










}
